home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7179 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.coli.uni-sb.de!not-for-mail
  2. From: mreckt@cscip.uni-sb.de (Martin Recktenwald)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: time-like gadgets
  5. Date: 11 Apr 1996 07:55:02 GMT
  6. Organization: University of Saarbruecken, Germany
  7. Message-ID: <4kidsm$ci8@coli-gate.coli.uni-sb.de>
  8. References: <447.6673T637T93@mailbox.swipnet.se>
  9. NNTP-Posting-Host: cip78.cscip.uni-sb.de
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. Daniel Adolfsson (m-29431@mailbox.swipnet.se) wrote:
  13. : Can anyone point me in the right direction on how to create and update
  14. : gadgets like the system program SYS:Prefs/Time does? (I mean how all the
  15. : days gadgets change when you change the month). I just dont understand how
  16. : I should do it (updating the gadgetlist or something like that..)
  17. I did something like this some time ago. I used 28 - 31 old-style gadgets
  18. for the days; I removed them every time the month-gadget was pressed
  19. and added them at their new position.
  20. The only problem was getting the day of the week a month starts with.
  21. If you really need it, I could dig out the source; but I really would
  22. recommend writing it yourself, my source looks somehow ugly, and
  23. implementing the thing as a BOOPSI gadget could be a good idea.
  24.  
  25. Regards,
  26.    Martin.
  27. -------------------------------------------------------------------------
  28. If you can`t understand anything above, it`s because of my bad English.
  29. However, I have the right to make faults, and you have the right
  30. to mail them to me ;-)
  31. -------------------------------------------------- mreckt@cscip.uni-sb.de
  32.